<?
    foreach($products as $product){
        echo "<li class=\"draggable\" id=\"{$product->id}\" name=\"{$product->name}\" href=\"{$product->href}\" price=\"{$product->price}\">
                <a   href=\"{$product->href}\" style=\"background: url({$product->src}) 50% 50% no-repeat\">
                    <span class=\"price\">{$product->price}р.</span>
                    <span class=\"caption\">{$product->name}</span>
                    <span class=\"zoom\"></span>
                </a>
              </li>";
    }
?>

